<div class="mask-box">
  <%= form_for(@check_in, :url => teacher_check_in_admin_course_weeks_path, method: :post, remote:true)  do |f|%>
  <div class="mask-head">
    <h4>导师签到</h4>
    <span></span>
  </div>
  <div class="mask-con">
    <div class="mask-marc">
      <ul>
        <li>
          <span>签到时间:</span>
          <em id="signTime"><%= Time.new.strftime("%Y-%m-%d %H:%M") %></em>
        </li>
        <li>
          <span>选择导师:</span>
          <em><%= @teacher.name %></em>
        </li>
        <li>
          <span>选择课程:</span>
          <em><%= @course.course_info.name %></em>
        </li>
        <li>
          <span>上课教室:</span>
          <span><%= @course.course_info.room.room_name %></span>
        </li>
        <li>
          <span>上课时间:</span>
          <span><%= @course.course_time.strftime("%Y-%m-%d %H:%M") %></span>
        </li>
      </ul>
    </div>
  </div>
  <%= f.hidden_field :course_id %>
  <%= f.hidden_field :teacher_id %>
  <%= tag(:input, :type => "hidden", :name =>  request_forgery_protection_token.to_s, :value =>   form_authenticity_token) %> 
  <div ><%= f.submit '确认签到', :class => "mask-confirm" %></div>
  <%end%>
</div>
